#ifndef RM_SENTRY_DISPATCH_INC_ROBOT_STATE_H_
#define RM_SENTRY_DISPATCH_INC_ROBOT_STATE_H_

#include <stdint.h>

#define SL_TRUE 0x01
#define SL_FALSE 0x00

#define TEST_MODE SL_FALSE
// #define TEST_MODE SL_TRUE

typedef enum _Robot_State
{
    ROBOT_INIT, ROBOT_NORM, ROBOT_TOP, ROBOT_IDLE, ROBOT_DISABLE, ROBOT_STOP
#if TEST_MODE
    ,ROBOT_TEST
#endif 
}Robot_State;

void set_robot_state(Robot_State new_robot_state);

Robot_State get_robot_state(void);

void set_robot_state_chassis_init_done();

void set_robot_state_disk_init_done();

void set_robot_state_soc_init_done();

void reset_robot_state_chassis_init();

void reset_robot_state_disk_init();

void reset_robot_state_soc_init_done();

uint8_t is_robot_init_done();
uint8_t is_soc_2_mcu_init_done();
#endif 
